home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / Expander / Expander Classes / CExpandorama.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-30  |  835 b   |  35 lines  |  [TEXT/KAHL]

  1. #pragma once
  2.  
  3.  
  4. #include <CPanorama.h>
  5.  
  6. #include "CColumnizer.h"
  7.  
  8.  
  9. class CExpandorama : public CPanorama, public CColumnizer {
  10.  
  11. protected:
  12.     virtual void    ChangeSelf( long changedIndex, Rect *delta );
  13.  
  14. public:
  15.  
  16.     TCL_DECLARE_CLASS
  17.  
  18.     CExpandorama();
  19.     CExpandorama( CView *anEnclosure, CBureaucrat *aSupervisor, short aWidth = 0,
  20.                    short aHeight = 0, short aHLoc = 0, short aVLoc = 0,
  21.                    SizingOption aHSizing = sizFIXEDSTICKY, SizingOption aVSizing = sizFIXEDSTICKY );
  22.     virtual ~CExpandorama();
  23.  
  24.     virtual CPane    *ChildToPane( void ) { return this; };
  25.     virtual CFamily    *PaneToChild( void ) { return this; };
  26.  
  27.     virtual void    MakeSelectionVisible( LongRect *selectedArea );
  28.  
  29.     virtual void    ChildMessage( CFamily *aChild, long message, void *param );
  30.  
  31.     virtual void    PutTo( CStream &stream );
  32.     virtual void    GetFrom( CStream &stream );
  33. };
  34.  
  35.